package com.wl.api.service.business.impl;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.wl.api.common.utils.BeanUtils;
import com.wl.api.dto.business.CustomerAddrFromDTO;
import com.wl.api.mapper.business.CustomerAddrFromMapper;
import com.wl.api.model.business.CustomerAddrFrom;
import com.wl.api.service.business.ICustomerAddrFromService;

/**
 *
 * CustomerAddrFrom 表数据服务层接口实现类
 *
 */
@Service
public class CustomerAddrFromServiceImpl extends ServiceImpl<CustomerAddrFromMapper, CustomerAddrFrom> implements ICustomerAddrFromService {

	
	public CustomerAddrFrom getCustomerAddrFromMessage(CustomerAddrFromDTO param) {
		return selectOne(new EntityWrapper<CustomerAddrFrom>(BeanUtils.copyProperties(param, CustomerAddrFrom.class)));
	}

}